* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}
body {
  padding-right: 0px !important;
  overflow: hidden !important;
}
.page {
  height: calc(100vh - 121px);
  background-color: #fff;

  .handlePart {
    padding: 20px 20px 0 20px;
  }

  .tablePart {
    padding: 0 20px;

    .ellipsis {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .el-button.el-button--text {
      font-size: 18px;
      padding: 0;
      .el-icon-view {
        color: #e6a23c;
      }
      .el-icon-delete {
        color: #f56c6c;
      }
    }
  }

  .pagePart {
    text-align: center;
    padding: 20px 0;
  }
}

.default-dialog {
  margin-top: auto !important;
  border-radius: 8px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;

  .el-dialog__header {
    box-sizing: border-box;
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: 20px;
    color: #333;
    img {
      width: 24px;
      vertical-align: middle;
    }
  }

  .el-dialog__body {
    padding: 10px 15px;
    min-height: 45vh;
    max-height: 80vh;
    overflow: auto;
  }

  .el-dialog__footer {
    border-top: 1px solid #eee;
    box-sizing: border-box;
    padding: 15px;
  }
}

/* 弹框内 form */
.dialog-form {
  margin: 20px 30px 0 20px;
  .el-cascader,
  .el-select,
  .el-date-editor {
    width: 100%;
  }
}

/* 级联选择器 单选 */
.el-cascader-panel {
  .el-cascader-menu .el-radio {
    display: table;
    vertical-align: middle;
    width: 90%;
    height: 100%;
    position: absolute;
    box-sizing: border-box;
    margin-left: -20px;
    padding-left: 10px;
  }
  .el-cascader-menu .el-radio .el-radio__input {
    display: table-cell;
    vertical-align: middle;
  }
}

/* 表格 el-table */
.el-table thead {
  color: #333;
  font-weight: 700;
}

.el-select-dropdown .el-scrollbar .el-scrollbar__wrap {
  overflow: inherit;
}

::-webkit-scrollbar {
  width: 4px;
  height: 5px;
}
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-track {
  border-radius: 0;
  background: rgba(0, 0, 0, 0.1);
}

.el-input.is-disabled .el-input__inner,
.el-select.is-disabled .el-input__inner,
.el-radio__input.is-disabled + span.el-radio__label,
.el-checkbox__input.is-disabled + span.el-checkbox__label,
.el-textarea.is-disabled .el-textarea__inner {
  color: rgba(0, 0, 0, 0.8);
}
.el-radio__input.is-disabled.is-checked .el-radio__inner::after {
  background-color: rgba(0, 0, 0, 0.8);
}
.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner,
.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after {
  border-color: rgba(0, 0, 0, 0.8);
}

/* 隐藏输入类型为number的输入框旁边的上下三角 */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* 对于Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

input:disabled {
  background-color: #f2f2f2;
  /* 禁用状态的背景颜色 */
}

.el-range-separator{
  width: 20px !important;
  line-height: 10px;
}
